package datatypes;

import java.util.List;

public class FreeTextExercise extends Exercise {

	private List<FreeTextQuestion> freeTextQuestions;
	
	public FreeTextExercise(int index, String question, double pointsTotal, String headline,
			List<FreeTextQuestion> freeTextQuestions) {
		super(index, question, pointsTotal, headline);
		setFreeTextQuestions(freeTextQuestions);
	}

	
	/**
	 *  GETTER & SETTER
	 */
	
	/**
	 * @return the questions
	 */
	public List<FreeTextQuestion> getFreeTextQuestions() {
		return freeTextQuestions;
	}

	/**
	 * @param questions the questions to set
	 */
	public void setFreeTextQuestions(List<FreeTextQuestion> freeTextQuestions) {
		this.freeTextQuestions = freeTextQuestions;
	}

	

}
